package com.woniu.smart.service.impl;

import com.woniu.smart.entity.Needs;
import com.woniu.smart.mapper.NeedsMapper;
import com.woniu.smart.service.NeedsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @description：TODO
 *
 * @author     ：mmzs
 * @date       ：2022/10/25 21:03
 */
@Service
public class NeedsServiceImpl implements NeedsService {
    @Autowired
    private NeedsMapper needsMapper;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(Needs record) {
        return 0;
    }

    @Override
    public int insertSelective(Needs record) {
        return needsMapper.insertSelective(record);
    }

    @Override
    public Needs selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(Needs record) {
        return needsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Needs record) {
        return 0;
    }
}
